import { defHttp } from '/@/utils/http/axios';

export class StyleInfoApi {
  
  static findPage(params) {
    return defHttp.get({ url: '/styleInfo/page', params });
  }
  static add(params) {
    return defHttp.post({ url: '/styleInfo/add', params }, { isTransformResponse: false });
  }
  static edit(params) {
    return defHttp.post({ url: '/styleInfo/edit', params }, { isTransformResponse: false });
  }
  static updateStatus(params) {
    return defHttp.post({ url: '/styleInfo/updateStatus', params }, { isTransformResponse: false });
  }
  static detail(params) {
    return defHttp.get({ url: '/styleInfo/detail', params });
  }
  static validName(params) {
    return defHttp.get({ url: '/styleInfo/validName', params });
  }

  static delete(params) {
    return defHttp.post({ url: '/styleInfo/delete', params }, { isTransformResponse: false });
  }

  static batchDel(params) {
    return defHttp.post({ url: '/styleInfo/batchDel', params }, { isTransformResponse: false });
  }

  static msgPush(params) {
    return defHttp.post({ url: '/msg/push', params }, { isTransformResponse: false });
  }

  static styleInfoList(params) {
    return defHttp.get({ url: '/styleInfo/list', params });
  }
}
